package com.ruoyi.ams.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ruoyi.ams.domain.AmsAssetRepairRecord;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * 维修信息登记Mapper接口
 * 
 * @author yfkj
 * @date 2022-05-16
 */@Mapper
public interface AmsAssetRepairRecordMapper extends BaseMapper<AmsAssetRepairRecord>
{
    /**
     * 查询维修信息登记
     * 
     * @param repairRecordId 维修信息登记主键
     * @return 维修信息登记
     */
    public AmsAssetRepairRecord selectAmsAssetRepairRecordByRepairRecordId(Long repairRecordId);

    /**
     * 查询维修信息登记列表
     * 
     * @param amsAssetRepairRecord 维修信息登记
     * @return 维修信息登记集合
     */
    public List<AmsAssetRepairRecord> selectAmsAssetRepairRecordList(AmsAssetRepairRecord amsAssetRepairRecord);

    /**
     * 新增维修信息登记
     * 
     * @param amsAssetRepairRecord 维修信息登记
     * @return 结果
     */
    public int insertAmsAssetRepairRecord(AmsAssetRepairRecord amsAssetRepairRecord);

    /**
     * 修改维修信息登记
     * 
     * @param amsAssetRepairRecord 维修信息登记
     * @return 结果
     */
    public int updateAmsAssetRepairRecord(AmsAssetRepairRecord amsAssetRepairRecord);

    /**
     * 删除维修信息登记
     * 
     * @param repairRecordId 维修信息登记主键
     * @return 结果
     */
    public int deleteAmsAssetRepairRecordByRepairRecordId(Long repairRecordId);

    /**
     * 批量删除维修信息登记
     * 
     * @param repairRecordIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteAmsAssetRepairRecordByRepairRecordIds(Long[] repairRecordIds);
}
